package com.smp.thread;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: fangxiaoyu
 * @date: 2021/6/29
 * @description:
 **/
public class MyList {

    private static List list = new ArrayList();

    public static void add() {
        list.add("我是元素");
    }

    public static int size() {
        return list.size();
    }

}
